<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link type="text/css" rel="stylesheet" href="css/emp.css"/>
</head>
<body onload="init()">
    <!-- 登录模块 -->
    <div id="login" style="display:none;">
        <table border="1">
            <tr>
                <th colspan="2"> 员 工 管 理 系 统 </th>
            </tr>
            <tr>
                <td>登录账号：</td>
                <td>
                    <input type="text" id="employAcount"/>
                </td>
            </tr>
            <tr>
                <td>登录密码：</td>
                <td>
                    <input type="text" id="employPwd"/>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="button" value="登录" onclick="doLogin()" />&nbsp;
                    <input type="button" value="重置" onclick="reset()" />
                </td>
            </tr>
        </table>
    </div>
    
    <!-- 查询模块 -->
    <div id="select" >
        <p>
            员工账号/姓名：<input type="text" id="tj" />
            <input type="button" value="查询" onclick="searchData()"/>
        </p>
        <table border="1">
            <tr>
                <th>员工编号</th>
                <th>员工账号</th>
                <th>员工姓名</th>
                <th>员工密码</th>
                <th>入职日期</th>
            </tr>
            <tbody id="tableData">

            </tbody>
        </table>
    </div>
    <script type="text/javascript" src="js/emp.js"></script>
</body>
</html>